home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Extras / MIDI / camd-37.1 / development / examples / camdlistreq / listreq.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-15  |  1.7 KB  |  47 lines

  1. #ifndef LISTREQ_H
  2. #define LISTREQ_H
  3.  
  4. /* ======================================================================== *
  5.      Prototypes and structures for listreq.lib (scrolling list requester)
  6.                              Written by Joe Pearce
  7.  * ======================================================================== *
  8.                           $VER: listreq.h 0.1 (19.2.93)
  9.  * ======================================================================== */
  10.  
  11. #include "std_headers.h"
  12.  
  13. #ifndef LIBRARIES_ASL_H
  14. #include <libraries/asl.h>
  15. #endif
  16.  
  17. #define LISTREQ_Window                   ASLFR_Window
  18. #define LISTREQ_Screen                   ASLFR_Screen
  19. #define LISTREQ_PubScreenName          ASLFR_PubScreenName
  20. #define LISTREQ_PrivateIDCMP           ASLFR_PrivateIDCMP
  21. #define LISTREQ_IntuiMsgFunc           ASLFR_IntuiMsgFunc
  22. #define LISTREQ_SleepWindow            ASLFR_SleepWindow
  23. #define LISTREQ_UserData               ASLFR_UserData
  24. #define LISTREQ_TextAttr               ASLFR_TextAttr
  25. #define LISTREQ_Locale                   ASLFR_Locale
  26. #define LISTREQ_TitleText              ASLFR_TitleText
  27. #define LISTREQ_PositiveText           ASLFR_PositiveText
  28. #define LISTREQ_NegativeText           ASLFR_NegativeText
  29. #define LISTREQ_InitialLeftEdge        ASLFR_InitialLeftEdge
  30. #define LISTREQ_InitialTopEdge         ASLFR_InitialTopEdge
  31. #define LISTREQ_InitialWidth          ASLFR_InitialWidth
  32. #define LISTREQ_InitialHeight          ASLFR_InitialHeight
  33. #define LISTREQ_Labels                   ASLFR_InitialFile
  34. #define LISTREQ_Selected             ASLFR_Flags2
  35. #define LISTREQ_Buffer                ASLFR_InitialDrawer
  36. #define LISTREQ_BufferSize            ASLFR_DoSaveMode
  37. #define LISTREQ_HookFunc             ASLFR_HookFunc
  38.  
  39. LONG ListRequestA(void *req, struct TagItem *ti);
  40. LONG ListRequest(void *req, Tag tag, ... );
  41.  
  42. void *AllocListRequestA(struct TagItem *ti);
  43. void *AllocListRequest( Tag tag, ... );
  44. void FreeListRequest(void *req);
  45.  
  46. #endif
  47.